Optimal. Leaf size=269 \[ \frac {\left (8 c^2 d^2+b^2 e^2-2 c e (5 b d-4 a e)-2 c e (2 c d-b e) x^2\right ) \sqrt {a+b x^2+c x^4}}{16 c e^3}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}-\frac {(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) \tanh ^{-1}\left (\frac {b+2 c x^2}{2 \sqrt {c} \sqrt {a+b x^2+c x^4}}\right )}{32 c^{3/2} e^4}+\frac {\left (c d^2-b d e+a e^2\right )^{3/2} \tanh ^{-1}\left (\frac {b d-2 a e+(2 c d-b e) x^2}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x^2+c x^4}}\right )}{2 e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.29, antiderivative size = 269, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {1261, 748, 828,
857, 635, 212, 738} \begin {gather*} \frac {\sqrt {a+b x^2+c x^4} \left (-2 c e (5 b d-4 a e)+b^2 e^2-2 c e x^2 (2 c d-b e)+8 c^2 d^2\right )}{16 c e^3}-\frac {(2 c d-b e) \left (-4 c e (2 b d-3 a e)-b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac {b+2 c x^2}{2 \sqrt {c} \sqrt {a+b x^2+c x^4}}\right )}{32 c^{3/2} e^4}+\frac {\left (a e^2-b d e+c d^2\right )^{3/2} \tanh ^{-1}\left (\frac {-2 a e+x^2 (2 c d-b e)+b d}{2 \sqrt {a+b x^2+c x^4} \sqrt {a e^2-b d e+c d^2}}\right )}{2 e^4}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 635
Rule 738
Rule 748
Rule 828
Rule 857
Rule 1261
Rubi steps
\begin {align*} \int \frac {x \left (a+b x^2+c x^4\right )^{3/2}}{d+e x^2} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {\left (a+b x+c x^2\right )^{3/2}}{d+e x} \, dx,x,x^2\right )\\ &=\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}-\frac {\text {Subst}\left (\int \frac {(b d-2 a e+(2 c d-b e) x) \sqrt {a+b x+c x^2}}{d+e x} \, dx,x,x^2\right )}{4 e}\\ &=\frac {\left (8 c^2 d^2+b^2 e^2-2 c e (5 b d-4 a e)-2 c e (2 c d-b e) x^2\right ) \sqrt {a+b x^2+c x^4}}{16 c e^3}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}+\frac {\text {Subst}\left (\int \frac {\frac {1}{2} \left (4 c e (b d-2 a e)^2-d (2 c d-b e) \left (4 b c d-b^2 e-4 a c e\right )\right )-\frac {1}{2} (2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x}{(d+e x) \sqrt {a+b x+c x^2}} \, dx,x,x^2\right )}{16 c e^3}\\ &=\frac {\left (8 c^2 d^2+b^2 e^2-2 c e (5 b d-4 a e)-2 c e (2 c d-b e) x^2\right ) \sqrt {a+b x^2+c x^4}}{16 c e^3}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}+\frac {\left (c d^2-b d e+a e^2\right )^2 \text {Subst}\left (\int \frac {1}{(d+e x) \sqrt {a+b x+c x^2}} \, dx,x,x^2\right )}{2 e^4}-\frac {\left ((2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x+c x^2}} \, dx,x,x^2\right )}{32 c e^4}\\ &=\frac {\left (8 c^2 d^2+b^2 e^2-2 c e (5 b d-4 a e)-2 c e (2 c d-b e) x^2\right ) \sqrt {a+b x^2+c x^4}}{16 c e^3}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}-\frac {\left (c d^2-b d e+a e^2\right )^2 \text {Subst}\left (\int \frac {1}{4 c d^2-4 b d e+4 a e^2-x^2} \, dx,x,\frac {-b d+2 a e-(2 c d-b e) x^2}{\sqrt {a+b x^2+c x^4}}\right )}{e^4}-\frac {\left ((2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right )\right ) \text {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x^2}{\sqrt {a+b x^2+c x^4}}\right )}{16 c e^4}\\ &=\frac {\left (8 c^2 d^2+b^2 e^2-2 c e (5 b d-4 a e)-2 c e (2 c d-b e) x^2\right ) \sqrt {a+b x^2+c x^4}}{16 c e^3}+\frac {\left (a+b x^2+c x^4\right )^{3/2}}{6 e}-\frac {(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) \tanh ^{-1}\left (\frac {b+2 c x^2}{2 \sqrt {c} \sqrt {a+b x^2+c x^4}}\right )}{32 c^{3/2} e^4}+\frac {\left (c d^2-b d e+a e^2\right )^{3/2} \tanh ^{-1}\left (\frac {b d-2 a e+(2 c d-b e) x^2}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x^2+c x^4}}\right )}{2 e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.08, size = 260, normalized size = 0.97 \begin {gather*} \frac {\frac {2 e \sqrt {a+b x^2+c x^4} \left (3 b^2 e^2+2 c e \left (-15 b d+16 a e+7 b e x^2\right )+4 c^2 \left (6 d^2-3 d e x^2+2 e^2 x^4\right )\right )}{c}+96 \sqrt {-c d^2+b d e-a e^2} \left (c d^2+e (-b d+a e)\right ) \tan ^{-1}\left (\frac {\sqrt {c} \left (d+e x^2\right )-e \sqrt {a+b x^2+c x^4}}{\sqrt {-c d^2+e (b d-a e)}}\right )+\frac {3 (2 c d-b e) \left (8 c^2 d^2-b^2 e^2+4 c e (-2 b d+3 a e)\right ) \log \left (c \left (b+2 c x^2-2 \sqrt {c} \sqrt {a+b x^2+c x^4}\right )\right )}{c^{3/2}}}{96 e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1410\) vs.
\(2(241)=482\).
time = 0.19, size = 1411, normalized size = 5.25
method | result | size |
risch | \(\frac {\left (8 c^{2} e^{2} x^{4}+14 b c \,e^{2} x^{2}-12 c^{2} d e \,x^{2}+32 a c \,e^{2}+3 e^{2} b^{2}-30 b c d e +24 c^{2} d^{2}\right ) \sqrt {c \,x^{4}+b \,x^{2}+a}}{48 c \,e^{3}}+\frac {3 \ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) a b}{8 \sqrt {c}\, e}-\frac {3 \sqrt {c}\, \ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) a d}{4 e^{2}}-\frac {\ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) b^{3}}{32 c^{\frac {3}{2}} e}-\frac {3 \ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) b^{2} d}{16 \sqrt {c}\, e^{2}}+\frac {3 \sqrt {c}\, \ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) b \,d^{2}}{4 e^{3}}-\frac {c^{\frac {3}{2}} \ln \left (\frac {\frac {b}{2}+c \,x^{2}}{\sqrt {c}}+\sqrt {c \,x^{4}+b \,x^{2}+a}\right ) d^{3}}{2 e^{4}}-\frac {\ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) a^{2}}{2 e \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}+\frac {\ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) d a b}{e^{2} \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}-\frac {c \ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) a \,d^{2}}{e^{3} \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}-\frac {\ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) b^{2} d^{2}}{2 e^{3} \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}+\frac {c \ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) d^{3} b}{e^{4} \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}-\frac {c^{2} \ln \left (\frac {\frac {2 a \,e^{2}-2 d e b +2 c \,d^{2}}{e^{2}}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+2 \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}\, \sqrt {c \left (x^{2}+\frac {d}{e}\right )^{2}+\frac {\left (e b -2 c d \right ) \left (x^{2}+\frac {d}{e}\right )}{e}+\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}{x^{2}+\frac {d}{e}}\right ) d^{4}}{2 e^{5} \sqrt {\frac {a \,e^{2}-d e b +c \,d^{2}}{e^{2}}}}\) | \(1335\) |
default | \(\text {Expression too large to display}\) | \(1411\) |
elliptic | \(\text {Expression too large to display}\) | \(1411\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 115.14, size = 1573, normalized size = 5.85 \begin {gather*} \left [-\frac {{\left (3 \, {\left (16 \, c^{3} d^{3} - 24 \, b c^{2} d^{2} e + 6 \, {\left (b^{2} c + 4 \, a c^{2}\right )} d e^{2} + {\left (b^{3} - 12 \, a b c\right )} e^{3}\right )} \sqrt {c} \log \left (-8 \, c^{2} x^{4} - 8 \, b c x^{2} - b^{2} - 4 \, \sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c x^{2} + b\right )} \sqrt {c} - 4 \, a c\right ) - 48 \, {\left (c^{3} d^{2} - b c^{2} d e + a c^{2} e^{2}\right )} \sqrt {c d^{2} - b d e + a e^{2}} \log \left (-\frac {8 \, c^{2} d^{2} x^{4} + 8 \, b c d^{2} x^{2} + {\left (b^{2} + 4 \, a c\right )} d^{2} + 4 \, \sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c d x^{2} + b d - {\left (b x^{2} + 2 \, a\right )} e\right )} \sqrt {c d^{2} - b d e + a e^{2}} + {\left ({\left (b^{2} + 4 \, a c\right )} x^{4} + 8 \, a b x^{2} + 8 \, a^{2}\right )} e^{2} - 2 \, {\left (4 \, b c d x^{4} + {\left (3 \, b^{2} + 4 \, a c\right )} d x^{2} + 4 \, a b d\right )} e}{x^{4} e^{2} + 2 \, d x^{2} e + d^{2}}\right ) - 4 \, {\left (24 \, c^{3} d^{2} e + {\left (8 \, c^{3} x^{4} + 14 \, b c^{2} x^{2} + 3 \, b^{2} c + 32 \, a c^{2}\right )} e^{3} - 6 \, {\left (2 \, c^{3} d x^{2} + 5 \, b c^{2} d\right )} e^{2}\right )} \sqrt {c x^{4} + b x^{2} + a}\right )} e^{\left (-4\right )}}{192 \, c^{2}}, \frac {{\left (3 \, {\left (16 \, c^{3} d^{3} - 24 \, b c^{2} d^{2} e + 6 \, {\left (b^{2} c + 4 \, a c^{2}\right )} d e^{2} + {\left (b^{3} - 12 \, a b c\right )} e^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c x^{2} + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{4} + b c x^{2} + a c\right )}}\right ) + 24 \, {\left (c^{3} d^{2} - b c^{2} d e + a c^{2} e^{2}\right )} \sqrt {c d^{2} - b d e + a e^{2}} \log \left (-\frac {8 \, c^{2} d^{2} x^{4} + 8 \, b c d^{2} x^{2} + {\left (b^{2} + 4 \, a c\right )} d^{2} + 4 \, \sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c d x^{2} + b d - {\left (b x^{2} + 2 \, a\right )} e\right )} \sqrt {c d^{2} - b d e + a e^{2}} + {\left ({\left (b^{2} + 4 \, a c\right )} x^{4} + 8 \, a b x^{2} + 8 \, a^{2}\right )} e^{2} - 2 \, {\left (4 \, b c d x^{4} + {\left (3 \, b^{2} + 4 \, a c\right )} d x^{2} + 4 \, a b d\right )} e}{x^{4} e^{2} + 2 \, d x^{2} e + d^{2}}\right ) + 2 \, {\left (24 \, c^{3} d^{2} e + {\left (8 \, c^{3} x^{4} + 14 \, b c^{2} x^{2} + 3 \, b^{2} c + 32 \, a c^{2}\right )} e^{3} - 6 \, {\left (2 \, c^{3} d x^{2} + 5 \, b c^{2} d\right )} e^{2}\right )} \sqrt {c x^{4} + b x^{2} + a}\right )} e^{\left (-4\right )}}{96 \, c^{2}}, \frac {{\left (96 \, {\left (c^{3} d^{2} - b c^{2} d e + a c^{2} e^{2}\right )} \sqrt {-c d^{2} + b d e - a e^{2}} \arctan \left (-\frac {\sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c d x^{2} + b d - {\left (b x^{2} + 2 \, a\right )} e\right )} \sqrt {-c d^{2} + b d e - a e^{2}}}{2 \, {\left (c^{2} d^{2} x^{4} + b c d^{2} x^{2} + a c d^{2} + {\left (a c x^{4} + a b x^{2} + a^{2}\right )} e^{2} - {\left (b c d x^{4} + b^{2} d x^{2} + a b d\right )} e\right )}}\right ) - 3 \, {\left (16 \, c^{3} d^{3} - 24 \, b c^{2} d^{2} e + 6 \, {\left (b^{2} c + 4 \, a c^{2}\right )} d e^{2} + {\left (b^{3} - 12 \, a b c\right )} e^{3}\right )} \sqrt {c} \log \left (-8 \, c^{2} x^{4} - 8 \, b c x^{2} - b^{2} - 4 \, \sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c x^{2} + b\right )} \sqrt {c} - 4 \, a c\right ) + 4 \, {\left (24 \, c^{3} d^{2} e + {\left (8 \, c^{3} x^{4} + 14 \, b c^{2} x^{2} + 3 \, b^{2} c + 32 \, a c^{2}\right )} e^{3} - 6 \, {\left (2 \, c^{3} d x^{2} + 5 \, b c^{2} d\right )} e^{2}\right )} \sqrt {c x^{4} + b x^{2} + a}\right )} e^{\left (-4\right )}}{192 \, c^{2}}, \frac {{\left (48 \, {\left (c^{3} d^{2} - b c^{2} d e + a c^{2} e^{2}\right )} \sqrt {-c d^{2} + b d e - a e^{2}} \arctan \left (-\frac {\sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c d x^{2} + b d - {\left (b x^{2} + 2 \, a\right )} e\right )} \sqrt {-c d^{2} + b d e - a e^{2}}}{2 \, {\left (c^{2} d^{2} x^{4} + b c d^{2} x^{2} + a c d^{2} + {\left (a c x^{4} + a b x^{2} + a^{2}\right )} e^{2} - {\left (b c d x^{4} + b^{2} d x^{2} + a b d\right )} e\right )}}\right ) + 3 \, {\left (16 \, c^{3} d^{3} - 24 \, b c^{2} d^{2} e + 6 \, {\left (b^{2} c + 4 \, a c^{2}\right )} d e^{2} + {\left (b^{3} - 12 \, a b c\right )} e^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{4} + b x^{2} + a} {\left (2 \, c x^{2} + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{4} + b c x^{2} + a c\right )}}\right ) + 2 \, {\left (24 \, c^{3} d^{2} e + {\left (8 \, c^{3} x^{4} + 14 \, b c^{2} x^{2} + 3 \, b^{2} c + 32 \, a c^{2}\right )} e^{3} - 6 \, {\left (2 \, c^{3} d x^{2} + 5 \, b c^{2} d\right )} e^{2}\right )} \sqrt {c x^{4} + b x^{2} + a}\right )} e^{\left (-4\right )}}{96 \, c^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (a + b x^{2} + c x^{4}\right )^{\frac {3}{2}}}{d + e x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,{\left (c\,x^4+b\,x^2+a\right )}^{3/2}}{e\,x^2+d} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________